package com.carpedil.movie.entity;

import lombok.Data;

import javax.persistence.*;

/** @author Administrator */
@Entity
@Data
@NamedStoredProcedureQuery(
    name = "log_pro",
    procedureName = "saveLog",
    parameters = {
      @StoredProcedureParameter(mode = ParameterMode.IN, name = "id", type = String.class),
      @StoredProcedureParameter(mode = ParameterMode.IN, name = "movieName", type = String.class),
      @StoredProcedureParameter(mode = ParameterMode.OUT, name = "i", type = Integer.class)
    })
public class LogEntity {
  @Id private Integer id;
}
